import BasicLayout from '@/layouts/basic-layout'

const meta = {
  auth: true
}

const pre = 'activities-'

export default {
  path: '/activities',
  name: 'activities',
  redirect: {
    name: `${pre}list`
  },
  meta,
  component: BasicLayout,
  children: [
    {
      path: 'list',
      name: `${pre}list`,
      meta: {
        ...meta,
        title: '活动列表'
      },
      component: () => import('@/pages/activities/list')
    }
  ]
}
